home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample PMSAM / PMSAM Framework / RoboSamSlot / SlotThread.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.1 KB  |  56 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SlotThread.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Tim Harnett
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <7>     2/14/95    TMH        IsLetterInTheEventQueue
  13.          <6>     1/11/95    TMH        tweak to generalize framework
  14.          <5>    12/12/94    TMH        use of thread events
  15.          <4>    10/11/94    TMH        CommThread integration
  16.          <3>     10/3/94    TMH        break of TWireless&TEWorld from TExternalSlot
  17.          <2>     9/30/94    TMH        added DoIncoming
  18.          <1>     9/21/94    TMH        seperated from Application.cp
  19.                  9/21/94    TMH        xxx put comment here xxx
  20.  
  21.     To Do:
  22. */
  23.  
  24. #ifndef __SlotThread__
  25. #define __SlotThread__
  26.  
  27. class TMSAMSlot;
  28. class TExternalSlot;
  29. class TCommThread;
  30.  
  31. #ifndef __TThread__
  32. #include "TThread.h"
  33. #endif
  34.  
  35.  
  36. //-----------------------------------------------
  37. //        T S l o t T h r e a d
  38. //-----------------------------------------------
  39.  
  40.  
  41. class TSlotThread : public TCooperativeThread {
  42. public:
  43.                 TSlotThread();
  44.                 void ISlotThread(TMSAMSlot* slot);
  45.     virtual void* ThreadMain();
  46.  
  47.     Boolean        IsLetterInTheEventQueue(long letterSeqNo,Boolean deleteIt=false);
  48.                 
  49. private:
  50.  
  51.     TMSAMSlot*        fMSAMSlot;
  52.     
  53. };
  54.  
  55.  
  56. #endif __SlotThread__